<?php if ($this->pageCount): ?>
    <div id="results_resultsNavigationDiv" class="paginationEMP" style="margin-bottom: 10px;">
            <!-- Previous page link -->
            <?php if (isset($this->previous)): ?>
                    <a class="page_num" href="<?php echo $this->router; ?>?page=<?php echo $this->previous; ?>">
                        <span> &lt;&lt;</span>
                    </a>
            <?php else: ?>
                    <a href="#" class="active">
                        <span> &lt;&lt;</span>
                    </a>
            <?php endif; ?>
            <!-- Numbered page links -->
            <?php foreach ($this->pagesInRange as $page): ?>
                <?php if ($page != $this->current): ?>
                        <a class="page_num" href="<?php echo $this->router; ?>?page=<?php echo $page; ?>">
                            <?php echo '<span>'.$page.'</span>'; ?>
                        </a>
                <?php else: ?>
                        <a href="#" class="page_num"><?php echo '<span class="current">'.$page.'</span>'; ?></a>
                <?php endif; ?>
            <?php endforeach; ?>

            <!-- Next page link -->
            <?php if (isset($this->next)): ?>
                    <a class="page_num" href="<?php echo $this->router; ?>?page=<?php echo $this->next; ?>">
                      <span> &GT;&GT; </span>
                    </a>
            <?php else: ?>
                    <a href="#" class="page_num">
                        <span> &GT;&GT; </span>
                    </a>
            <?php endif; ?>
        </ul>
    </div>
<?php endif; ?>